package com.link.base.base.member.model;

import com.link.core.basic.model.BasicModel;

/**
 * 会员-会员卡信息
 *
 * @author 路江
 * @date 2018-10-22
 */
public class MemberAccount extends BasicModel {
    /**
     * 会员Id
     */
    private Long memberId;
    /**
     * 会员卡Id
     */
    private Long memCardId;
    /**
     * 状态
     */
    private String status;
    /**
     * 有效期开始日期
     */
    private String effectStartDay;
    /**
     * 有效期结束日期
     */
    private String effectEndDay;
    /**
     * 入会时间
     */
    private String membershipDate;
    /**
     * 领取渠道
     */
    private String membershipChannel;
    /**
     * 客户id
     */
    private Long accntId;
    /**
     * 会员卡号
     */
    private String memCardCode;
    /**
     * 会员卡名称
     */
    private String memberCardName;
    /**
     * 有效期类型
     */
    private String validityOption;
    /**
     * 领取后N天内有效
     */
    private Integer fixedTerm;
    /**
     * 状态
     */
    private String menCardStatus;

    /**
     * 姓名
     */
    private String name;

    /**
     * 生日
     */
    private String birthday;

    /**
     * 性别
     */
    private String gender;

    /**
     * 电话号码
     */
    private String telephone;

    /**
     * 电子邮箱
     */
    private String email;

    /**
     * 微信openId
     */
    private String openId;

    /**
     * 渠道
     */
    private String channel;

    /**
     * 微信名
     */
    private String wechatNickname;

    /**
     * 微信头像
     */
    private String wechatHeadUrl;

    /**
     * 会员姓名
     */
    private String memberName;

    /**
     * 个人会员卡有效期
     */
    private String effectTime;

    /**
     * 会员卡有效期
     */
    private String memCardEffectTime;

    /**
     * 是否主要会员卡
     */
    private String memprimary;

    /**
     * 卡类型
     */
    private String cardType;

    /**
     * 用户unionId
     */
    private String unionId;



    public String getEffectStartDay() {
        return effectStartDay;
    }

    public void setEffectStartDay(String effectStartDay) {
        this.effectStartDay = effectStartDay;
    }

    public String getEffectEndDay() {
        return effectEndDay;
    }

    public void setEffectEndDay(String effectEndDay) {
        this.effectEndDay = effectEndDay;
    }

    public String getMembershipDate() {
        return membershipDate;
    }

    public void setMembershipDate(String membershipDate) {
        this.membershipDate = membershipDate;
    }

    public String getMembershipChannel() {
        return membershipChannel;
    }

    public void setMembershipChannel(String membershipChannel) {
        this.membershipChannel = membershipChannel;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMemCardCode() {
        return memCardCode;
    }

    public void setMemCardCode(String memCardCode) {
        this.memCardCode = memCardCode;
    }

    public String getMemberCardName() {
        return memberCardName;
    }

    public void setMemberCardName(String memberCardName) {
        this.memberCardName = memberCardName;
    }

    public String getValidityOption() {
        return validityOption;
    }

    public void setValidityOption(String validityOption) {
        this.validityOption = validityOption;
    }

    public Integer getFixedTerm() {
        return fixedTerm;
    }

    public void setFixedTerm(Integer fixedTerm) {
        this.fixedTerm = fixedTerm;
    }

    public String getMenCardStatus() {
        return menCardStatus;
    }

    public void setMenCardStatus(String menCardStatus) {
        this.menCardStatus = menCardStatus;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * 重写方法，解决时间秒数被截取问题
     */
    private String lastUpdated;

    @Override
    public String getLastUpdated() {
        return lastUpdated;
    }

    @Override
    public void setLastUpdated(String lastUpdated) {
        this.lastUpdated = lastUpdated;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    private  String created;

    @Override
    public String getCreated() {
        return created;
    }

    @Override
    public void setCreated(String created) {
        this.created = created;
    }

    public String getWechatNickname() {
        return wechatNickname;
    }

    public void setWechatNickname(String wechatNickname) {
        this.wechatNickname = wechatNickname;
    }

    public String getWechatHeadUrl() {
        return wechatHeadUrl;
    }

    public void setWechatHeadUrl(String wechatHeadUrl) {
        this.wechatHeadUrl = wechatHeadUrl;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getEffectTime() {
        return effectTime;
    }

    public void setEffectTime(String effectTime) {
        this.effectTime = effectTime;
    }

    public String getMemCardEffectTime() {
        return memCardEffectTime;
    }

    public void setMemCardEffectTime(String memCardEffectTime) {
        this.memCardEffectTime = memCardEffectTime;
    }

    public String getMemprimary() {
        return memprimary;
    }

    public void setMemprimary(String memprimary) {
        this.memprimary = memprimary;
    }

    public Long getMemCardId() {
        return memCardId;
    }

    public void setMemCardId(Long memCardId) {
        this.memCardId = memCardId;
    }

    public Long getAccntId() {
        return accntId;
    }

    public void setAccntId(Long accntId) {
        this.accntId = accntId;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    public String getUnionId() {
        return unionId;
    }

    public void setUnionId(String unionId) {
        this.unionId = unionId;
    }
}
